/**
 * Created by saber on 15/8/15.
 */

wcApp
    .directive('weatherCol', ['ionicMaterialInk', function (ionicMaterialInk) {
        return {
            templateUrl: 'templates/directives/weatherCol.html',
            restrict: 'E',
            replace: true,
            scope: {
                wcTitle: '@',
                wcData: '='
            },
            link: function () {
                ionicMaterialInk.displayEffect();
            }
        };
    }])

    .directive('wcBack', [function () {
        return {
            template: '<ion-nav-buttons side="lift">' +
            '<button class="lift button button-icon button-clear ion-arrow-left-b ink" ng-click="$back()"></button>' +
            '</ion-nav-buttons>',
            restrict: "E",
            replace: true
        };
    }]);